package com.niit.pojo;

import java.util.Date;

public class Product {
	private int productId;
	private String productName;
	private double price;
	private String productType;
	private int repertory;
	private Date createTime;
	public Product() {
		super();
	}
	public Product(int productId, String productName, double price, String productType, int repertory,
			Date createTime) {
		super();
		this.productId = productId;
		this.productName = productName;
		this.price = price;
		this.productType = productType;
		this.repertory = repertory;
		this.createTime = createTime;
	}
	public int getProductId() {
		return productId;
	}
	public void setProductId(int productId) {
		this.productId = productId;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public String getProductType() {
		return productType;
	}
	public void setProductType(String productType) {
		this.productType = productType;
	}
	public int getRepertory() {
		return repertory;
	}
	public void setRepertory(int repertory) {
		this.repertory = repertory;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	@Override
	public String toString() {
		return "Product [productId=" + productId + ", productName=" + productName + ", price=" + price
				+ ", productType=" + productType + ", repertory=" + repertory + ", createTime=" + createTime + "]";
	}
	
}
